
#ifndef __AT24C64_H__
#define __AT24C64_H__

#include "i2c.h"


#define AT24C64_OK 0
#define AT24C64_WRITE_ADDR 0xA0
#define AT24C64_READ_ADDR 0xA1


void at24c64_init(void);
int8_t at24c64_write(uint16_t addr, uint8_t data);
int8_t at24c64_read(uint16_t addr, uint8_t *data);

#endif
